package com.winning.sjzc.login.service;

import com.winning.sjzc.login.entity.SysCzryEntity;
import com.winning.sjzc.login.entity.SysGncdEntity;
import java.util.List;
import java.util.Map;

/**
 * description:
 *
 * @author yanxf@winning.com.cn
 * @date 2019/08/07 11:25
 */
public interface LoginService {

  /**
   *生成token
   * @param user
   * @return
   */
  String createToken(SysCzryEntity user);

  /**
   * 查询导航菜单
   * @return
   */
  List<SysGncdEntity> queryNavigationMenu(List ryjsCollect);

  /**
   * 查询二三级菜单
   * @param mcode
   * @return
   */
  Map<String, Object> querySubMenu(String mcode, List<String>  ryjsCollect);
}
